<div class="top">
	<div class="top_top clear-fix">
    	<div class="top_left">Welcome to {$sys.company_name}!</div>
        <div class="top_right">
        	<p class="p1"><a href="{$curl.25}" rel="nofollow">Online message</a>|</p>
            <p class="p2">
            <a href="https://www.facebook.com/" rel="nofollow"><img src="images/f.jpg" alt="" title="" />
            </a><a href="https://twitter.com/" rel="nofollow"><img src="images/t.jpg" alt="" title="" /></a>
            <a href="#" rel="nofollow"><img src="images/g.jpg" alt="" title="" /></a>
			</p>
        </div>
    </div>
</div>
<div class="header">
	<div class="head">
    	<div class="logo"><a href="__INDEX__/" title="{$sys.sitename}"><img src="images/logo.png" alt="{$sys.sitename}" title="{$sys.sitename}" /></a></div>
        <div class="slogo">{$my.seo_head}</div>
        <div class="head_right">
        	<ul>
            	<li class="tel"><span>Service Hotline</span><br />{$sys.company_phone}</li>
                <li class="email"><a href="mailto:{$sys.company_email}"><span>{$sys.company_email}</span></a></li>
            </ul>
        </div>
        <div class="clear"></div>
    </div>
</div>
<div class="nav">
	<div class="menu">
    	<ul>
      <li <!--if:{$top_category['cid']==''}-->class="cur"<!--{/if}-->><a href="__INDEX__/" title="Home">Home</a></li>

        <!--list:{table="category" type="top" order="cid asc" limit="7"}-->

        <li <!--if:{$top_category['cid']==$list['cid']}-->class="cur"<!--{/if}-->><a href="{$list.curl}" title="{$list.name}">{$list.name}</a>

          <?php $num = module('label')->get_count(array('where'=>'and pid=<$list.cid>  limit 20'),array('table'=>'category')); ?>

          <?php

    if($num){

    ?>

          <ul>

            <!--sublist:{table="category" pid="<$list.cid>" order="cid asc" limit="10"}-->

            <li><a href="{$sublist.curl}"><nobr>{$sublist.name}</nobr></a></li>

            <!--/sublist-->

          </ul>

          <?php 

    }

    ?>

        </li>

        <!--/list-->
        </ul>
    </div>
</div>